package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ScenicSpot;
import cn.wolfcode.trip.base.domain.Theme;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IScenicSpotService {
    PageInfo<ScenicSpot> query(QueryObject qo);

    void saveOrUpdate(ScenicSpot entity);

    List<Theme> listTheme();

    PageInfo<ScenicSpot> getScenicSpotByRegionId(Long regionId,QueryObject qo);

    Object getscenicSpotById(Long id);
}
